import request from '@/utils/request'

export const getMemberList = (query) => {
  return request({
    url: '/system/subscribe/member/list',
    method: 'get',
    params: query
  })
}
export const setNum = (query) => {
  return request({
    url: '/system/subscribe/member/gift/num',
    method: 'post',
    data: query
  })
}

export const getMemberCountList = (query) => {
  return request({
    url: '/system/subscribe/member/getGiftDetail',
    method: 'get',
    params: query
  })
}
export const getMemberShipList = (query) => {
  return request({
    url: '/system/membership/package/list',
    method: 'get',
    params: query
  })
}
export const addMemberUser = (query) => {
  return request({
    url: '/system/subscribe/member/input/member ',
    method: 'post',
    data: query
  })
}
